<?php
/*
 * @Author: 孙开源 && sunkaiyuan@namenode.cn
 * @Date: 2023-04-12 16:45:39
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @LastEditTime: 2023-04-18 14:04:07
 * @Description: 工艺接口
 * 
 */

namespace zhijingfeisuo\Process;

use zhijingfeisuo\Kernel\Client as BaseClient;

class Client extends BaseClient
    {
    public function query($machineCode = "MODEL_TYPE:HG9000_1749712502917")
        {
        return $this->postJson('dyeing-nest-control/base/process/query', ['machineCode' => $machineCode,]);
        }
    public function material($orderid)
        {
        return $this->_GET('dyeing-web/production/craft-material-bill/' . $orderid);
        }
    public function queryTechSet($functionId, $machineCode = "MODEL_TYPE:HG9000_1749712502917")
        {
        return $this->postJson('dyeing-nest-control/base/instruct/queryTechSet', ['functionId' => $functionId, 'machineCode' => $machineCode,]);
        }

    }